package com.xinchili.mysqlSimulateRedis.entity;



public class MysqlCache {

    private String mysqlKey;

    private String value;

    private Long expire;

    public MysqlCache() {
    }

    public MysqlCache(String mysqlKey, String value, Long expire) {
        this.mysqlKey = mysqlKey;
        this.value = value;
        this.expire = expire;
    }

    /**
     * 获取
     * @return mysqlKey
     */
    public String getMysqlKey() {
        return mysqlKey;
    }

    /**
     * 设置
     * @param mysqlKey
     */
    public void setMysqlKey(String mysqlKey) {
        this.mysqlKey = mysqlKey;
    }

    /**
     * 获取
     * @return value
     */
    public String getValue() {
        return value;
    }

    /**
     * 设置
     * @param value
     */
    public void setValue(String value) {
        this.value = value;
    }

    /**
     * 获取
     * @return expire
     */
    public Long getExpire() {
        return expire;
    }

    /**
     * 设置
     * @param expire
     */
    public void setExpire(Long expire) {
        this.expire = expire;
    }

    public String toString() {
        return "MysqlCache{mysqlKey = " + mysqlKey + ", value = " + value + ", expire = " + expire + "}";
    }
}
